package com.smarthospital.dao.im.daoService;

import com.smarthospital.entity.im.IMMessage;
import org.springframework.data.domain.Page;

/**
 * create by sym  2021/5/9 21:19.
 * 也做层抽象 类似于api
 */
public interface IMMessageDaoService {

    //根据消息orderId获取聊天信息 拉出一次问诊聊天内容
    Page<IMMessage> getByOrderId(String orderId);

    void save(IMMessage imMessage);
}
